package com.meisiabc.app.web.advice;

public enum ResponseCode {
    server_error(-1, "Server Error"),
    param_validate_error(-2, "Param Validate Error"),

    invalid_auth(10001, "User not login"),
    NOT_REGISTED(10002, "用户未注册,请先注册并申请试用"),
    repasswd_error(10003, "修改密码失败");

    private int code;
    private String msg;

    ResponseCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}

